package com.cl.code.database.mybatis.module.sql.operator;

import lombok.Getter;

/**
 * 范围匹配符
 *
 * @author chengliang
 * @since 1.0.0
 */
@Getter
public enum ScopeSqlExpression implements SqlExpression {
    BETWEEN(" #{column} BETWEEN #{value1} AND #{value2}"),
    NOT_BETWEEN(" #{column} NOT BETWEEN #{value1} AND #{value2}"),
    ;
    private final String expression;

    ScopeSqlExpression(String expression) {
        this.expression = expression;
    }

}
